package com.gitee.dupe.msg.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.dolt.core.base.entity.SuperEntity;
import com.gitee.dupe.msg.enumeration.MsgTypeEnum;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author Administrator
 * @since 2021-01-05
 */
@Data
@Accessors(chain = true)
@TableName("b_msg_log")
public class MsgLog extends SuperEntity<Long> {

    @TableField("type")
    private MsgTypeEnum type;

    @TableField("html")
    private Boolean html;

    @TableField("recipients")
    private String recipients;

    @TableField("froms")
    private String froms;

    @TableField("subject")
    private String subject;

    @TableField("content")
    private String content;

    @TableField("success")
    private Boolean success;

    @TableField("result")
    private String result;

    @TableField("json")
    private String json;

    @TableField("sent_time")
    private LocalDateTime sentTime;

}
